#!/bin/sh

rm pkg/*.tar.gz
PKG="odevents"
DATE=`date +%Y%m%d`
USR="--owner 1000 --group 1000 --same-permissions"
EXCLUDE=' --exclude "*~" --exclude .svn ' 

echo "Event manager" > pkg/$PKG.desc
echo "Customize the way you want to receive notifications" >> pkg/$PKG.desc

rm -fr pkg/*.tar.gz
tar vzcf  pkg/$PKG-$DATE.od.noarch.tar.gz etc usr var  $USR $EXCLUDE
echo "Archivo creado"
